package com.gwctv.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

@Tag(name="EmployeePageDTO",description = "用于接收前端发送的分页查询的请求参数")
@Data //相当于getter\setter方法
public class EmployeePageDTO {
    //员工姓名
    @Schema(name="name",description = "员工姓名",type = "string")
    private String name;
    //页码
    @Schema(name="page",description = "页码",type = "int")
    private int page;
    //每页展示的记录数
    @Schema(name="pageSize",description = "每页展示记录数",type="int")
    private int pageSize;
}
